def test_merge_changes(sync_engine, local_changes, remote_changes):
    merged = sync_engine.merge(local_changes, remote_changes)
    assert len(merged) == len(local_changes) + len(remote_changes)